﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Batmobile:Car,IFIy
    {
        public Batmobile(string brand, string type) : base(brand, type)
        { 
        }
        public void Fly()
        {
            Console.WriteLine("一辆品牌是{0}，型号是{1}的车在飞行", base.Brand, this.Type);
        }
    }

}
